package hibernate;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * HouseInfo entity. @author MyEclipse Persistence Tools
 */

public class HouseInfo implements java.io.Serializable {

	// Fields

	private Integer houseId;
	private UserInfo userInfo;
	private String district;
	private Double unitPrice;
	private Double foregift;
	private String title;
	private String address;
	private Integer bedroom;
	private Integer hall;
	private Integer toilet;
	private Integer houseType;
	private Short jointRent;
	private Integer maxNumber;
	private Date startTime;
	private Date endTime;
	private Double area;
	private Integer height;
	private Integer floor;
	private Integer age;
	private String houseState;
	private String rentUnit;
	private Integer atLeastRent;
	private String atLeastUnit;
	private String description;
	private String city;
	private String province;
	private Integer viewNumber;
	private Integer visitNumber;
	private Set houseImages = new HashSet(0);
	private Set commentInfos = new HashSet(0);
	private Set houseAdditions = new HashSet(0);
	private Set orderInfos = new HashSet(0);
	private Set visitRequests = new HashSet(0);
	private Set favorites = new HashSet(0);

	// Constructors

	/** default constructor */
	public HouseInfo() {
	}

	/** minimal constructor */
	public HouseInfo(Integer houseId, String district, Double unitPrice,
			Double foregift, String title, String address, Integer bedroom,
			Integer hall, Integer toilet, Integer houseType, Short jointRent,
			Integer maxNumber, Date startTime, Date endTime, Double area,
			Integer height, Integer floor, Integer age, String houseState,
			String rentUnit, Integer atLeastRent, String atLeastUnit) {
		this.houseId = houseId;
		this.district = district;
		this.unitPrice = unitPrice;
		this.foregift = foregift;
		this.title = title;
		this.address = address;
		this.bedroom = bedroom;
		this.hall = hall;
		this.toilet = toilet;
		this.houseType = houseType;
		this.jointRent = jointRent;
		this.maxNumber = maxNumber;
		this.startTime = startTime;
		this.endTime = endTime;
		this.area = area;
		this.height = height;
		this.floor = floor;
		this.age = age;
		this.houseState = houseState;
		this.rentUnit = rentUnit;
		this.atLeastRent = atLeastRent;
		this.atLeastUnit = atLeastUnit;
	}

	/** full constructor */
	public HouseInfo(Integer houseId, UserInfo userInfo, String district,
			Double unitPrice, Double foregift, String title, String address,
			Integer bedroom, Integer hall, Integer toilet, Integer houseType,
			Short jointRent, Integer maxNumber, Date startTime, Date endTime,
			Double area, Integer height, Integer floor, Integer age,
			String houseState, String rentUnit, Integer atLeastRent,
			String atLeastUnit, String description, String city,
			String province, Integer viewNumber, Integer visitNumber,
			Set houseImages, Set commentInfos, Set houseAdditions,
			Set orderInfos, Set visitRequests, Set favorites) {
		this.houseId = houseId;
		this.userInfo = userInfo;
		this.district = district;
		this.unitPrice = unitPrice;
		this.foregift = foregift;
		this.title = title;
		this.address = address;
		this.bedroom = bedroom;
		this.hall = hall;
		this.toilet = toilet;
		this.houseType = houseType;
		this.jointRent = jointRent;
		this.maxNumber = maxNumber;
		this.startTime = startTime;
		this.endTime = endTime;
		this.area = area;
		this.height = height;
		this.floor = floor;
		this.age = age;
		this.houseState = houseState;
		this.rentUnit = rentUnit;
		this.atLeastRent = atLeastRent;
		this.atLeastUnit = atLeastUnit;
		this.description = description;
		this.city = city;
		this.province = province;
		this.viewNumber = viewNumber;
		this.visitNumber = visitNumber;
		this.houseImages = houseImages;
		this.commentInfos = commentInfos;
		this.houseAdditions = houseAdditions;
		this.orderInfos = orderInfos;
		this.visitRequests = visitRequests;
		this.favorites = favorites;
	}

	// Property accessors

	public Integer getHouseId() {
		return this.houseId;
	}

	public void setHouseId(Integer houseId) {
		this.houseId = houseId;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public String getDistrict() {
		return this.district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public Double getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Double getForegift() {
		return this.foregift;
	}

	public void setForegift(Double foregift) {
		this.foregift = foregift;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getBedroom() {
		return this.bedroom;
	}

	public void setBedroom(Integer bedroom) {
		this.bedroom = bedroom;
	}

	public Integer getHall() {
		return this.hall;
	}

	public void setHall(Integer hall) {
		this.hall = hall;
	}

	public Integer getToilet() {
		return this.toilet;
	}

	public void setToilet(Integer toilet) {
		this.toilet = toilet;
	}

	public Integer getHouseType() {
		return this.houseType;
	}

	public void setHouseType(Integer houseType) {
		this.houseType = houseType;
	}

	public Short getJointRent() {
		return this.jointRent;
	}

	public void setJointRent(Short jointRent) {
		this.jointRent = jointRent;
	}

	public Integer getMaxNumber() {
		return this.maxNumber;
	}

	public void setMaxNumber(Integer maxNumber) {
		this.maxNumber = maxNumber;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Double getArea() {
		return this.area;
	}

	public void setArea(Double area) {
		this.area = area;
	}

	public Integer getHeight() {
		return this.height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getFloor() {
		return this.floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getHouseState() {
		return this.houseState;
	}

	public void setHouseState(String houseState) {
		this.houseState = houseState;
	}

	public String getRentUnit() {
		return this.rentUnit;
	}

	public void setRentUnit(String rentUnit) {
		this.rentUnit = rentUnit;
	}

	public Integer getAtLeastRent() {
		return this.atLeastRent;
	}

	public void setAtLeastRent(Integer atLeastRent) {
		this.atLeastRent = atLeastRent;
	}

	public String getAtLeastUnit() {
		return this.atLeastUnit;
	}

	public void setAtLeastUnit(String atLeastUnit) {
		this.atLeastUnit = atLeastUnit;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public Integer getViewNumber() {
		return this.viewNumber;
	}

	public void setViewNumber(Integer viewNumber) {
		this.viewNumber = viewNumber;
	}

	public Integer getVisitNumber() {
		return this.visitNumber;
	}

	public void setVisitNumber(Integer visitNumber) {
		this.visitNumber = visitNumber;
	}

	public Set getHouseImages() {
		return this.houseImages;
	}

	public void setHouseImages(Set houseImages) {
		this.houseImages = houseImages;
	}

	public Set getCommentInfos() {
		return this.commentInfos;
	}

	public void setCommentInfos(Set commentInfos) {
		this.commentInfos = commentInfos;
	}

	public Set getHouseAdditions() {
		return this.houseAdditions;
	}

	public void setHouseAdditions(Set houseAdditions) {
		this.houseAdditions = houseAdditions;
	}

	public Set getOrderInfos() {
		return this.orderInfos;
	}

	public void setOrderInfos(Set orderInfos) {
		this.orderInfos = orderInfos;
	}

	public Set getVisitRequests() {
		return this.visitRequests;
	}

	public void setVisitRequests(Set visitRequests) {
		this.visitRequests = visitRequests;
	}

	public Set getFavorites() {
		return this.favorites;
	}

	public void setFavorites(Set favorites) {
		this.favorites = favorites;
	}

}